#ifndef _MYRASTERIZER
#define _MYRASTERIZER
#include "Rasterizer.h"

class myRasterizer{
private :	
	Pipeline  *internals;
	float * point1;
	float * point2;
	float * point3;
	bool ModeFiled;
	void * interpolation;
public :
	myRasterizer(Pipeline*);
	~myRasterizer();
	void TriangleSetup(float *&p1, float *&p2, float *&p3);
	bool IsFlat(void);
	void Rasterize(float *p1, float *p2, float *p3);
	void ProcessPixel(int, int, float*, float*, float*);
	void SetModeFilled(void);
	void SetModeWireframe(void);
	void Bresenham (float * point1, float * point2, float * p1, float * p2, float * p3);
};

#endif